#!/bin/bash
[ -z "$2" ] && echo "Usage: ${0##*/} {file} {variable}" >&2 && exit 1

grep -n "^ *#\? *$2\( \+=\? *\| *=\? \+\|=\)" "$1"
